using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
using Magicodes.IE.Core;
using OfficeOpenXml.Table;

namespace Admin.NET.Application;

[ExcelExporter(Name = "水表用水量", TableStyle = TableStyles.None, AutoFitAllColumn = true)]
public class ExportMeterWaterEnergyDto
{
	[ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "表号", IsBold = true)]
	public string sn { get; set; }

	[ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "表名", IsBold = true)]
	public string name { get; set; }

	[ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "总用水量", IsBold = true)]
	public decimal total { get; set; }

	[ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "费用", IsBold = true)]
	public decimal? amount { get; set; }

	[ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "日期", IsBold = true)]
	public string date { get; set; }
}
